package com.qf.zhijia.service.impl;

import com.qf.zhijia.mapper.ShowThemeMapper;
import com.qf.zhijia.pojo.Theme;
import com.qf.zhijia.service.ShowThemeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Canaan
 * @version V1.0
 * @data 2020/09/05
 **/
@Service
public class ShowThemeServiceImpl implements ShowThemeService {

    @Autowired
    ShowThemeMapper showThemeMapper;

    /**
     * 查所有
     * @return
     */
    @Override
    public List<Theme> findALlTheme() {
        List<Theme> themes = showThemeMapper.queryAllTheme();
        return themes;
    }

}
